﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Classic.Master" Inherits="ModelViewPage<EntryDto>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>
        Wpis w karcie pacjenta
    </h2>

    <fieldset class="form">
        <%=Html.IfValidationFail() %>
        <h3>
            Dane wpisu:
        </h3>
        <div>
            <%=this.Literal(e=>e.Patient.Name).Label("Pacjent:") %>
        </div>
        <div>
            <%=this.Literal(e=>e.Author.Name).Label("Autor:") %>
        </div>
        <div>
            <%=this.Literal(e=>e.Date.ToShortDateString()).Label("Data:") %>
        </div>
        <h3>
            Szczeguły:
        </h3>
        <div>
            <%=this.Literal(e=>e.Content.Reason).Label("Powód:") %>
        </div>
        <div>
            <%=this.TextArea(e=>e.Content.Description).Label("Opis:").Columns(40).Rows(5) %>
        </div>
        <div>
            <%=this.TextArea(e=>e.Content.Recommendation).Label("Zalecenia:").Columns(40).Rows(5) %>
        </div>
    </fieldset>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
